import React from 'react'
import { render } from 'react-dom'
import { createStore } from 'redux'
import { Provider } from 'react-redux'
import AppTodos from './containers/AppTodos'
import todoApp from './reducers/todos'


let store=createStore(todoApp)
let rootElement =document.getElementById('app')
render(
	<Provider store={store}>
		<AppTodos />
	</Provider>,
	rootElement
)